package com.kehao.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @学生班级Dto --> 用于前端请求封装的实体
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "学生班级DTO对象",description = "此类型封装了前端传入的学生班级对象")
public class StuClassDto {
        @ApiModelProperty(value = "id")
        private Integer id;
        @ApiModelProperty(value = "学生姓名")
        private String userName;
        @ApiModelProperty(value = "学生密码")
        private String password;
        @ApiModelProperty(value = "学生ID")
        private String studentId;
        @ApiModelProperty(value = "数学分数")
        private BigDecimal mathScore;
        @ApiModelProperty(value = "语文分数")
        private BigDecimal chineseScore;
        @ApiModelProperty(value = "英语分数")
        private BigDecimal englishScore;
        @ApiModelProperty(value = "状态")
        private String status;
        @ApiModelProperty(value = "入学时间")
        private LocalDateTime enrollmentDate;
        @ApiModelProperty(value = "修改时间")
        private LocalDateTime updateTime;
}
